inherited FPesquisaRomaneio: TFPesquisaRomaneio
  Left = 245
  Top = 108
  Caption = 'Pesquisa Romaneio do Pedido'
  ClientHeight = 312
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
  end
  inherited Panel1: TPanel
    Height = 271
    object Label2: TLabel [0]
      Left = 6
      Top = 38
      Width = 32
      Height = 13
      Caption = 'Cliente'
    end
    object Label10: TLabel [1]
      Left = 6
      Top = 90
      Width = 46
      Height = 13
      Caption = 'Empresas'
    end
    object Label1: TLabel [2]
      Left = 5
      Top = 3
      Width = 48
      Height = 13
      Caption = 'Romaneio'
    end
    object Label3: TLabel [3]
      Left = 72
      Top = 20
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label5: TLabel [4]
      Left = 147
      Top = 3
      Width = 33
      Height = 13
      Caption = 'Pedido'
    end
    object Label9: TLabel [5]
      Left = 215
      Top = 3
      Width = 23
      Height = 13
      Caption = 'Data'
    end
    object Label6: TLabel [6]
      Left = 307
      Top = 20
      Width = 6
      Height = 13
      Caption = 'a'
    end
    inherited DBGrid1: TDBGrid
      Top = 145
      TabOrder = 9
      Columns = <
        item
          Expanded = False
          FieldName = 'ROM_CODIGO'
          Title.Caption = 'Codigo'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ROM_DATA'
          Title.Caption = 'Data'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CLI_RAZAO'
          Title.Caption = 'Cliente'
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 250
      TabOrder = 10
    end
    object DBLCBCliente: TDBLookupComboBox
      Left = 6
      Top = 52
      Width = 240
      Height = 21
      KeyField = 'CLI_CODIGO'
      ListField = 'CLI_RAZAO'
      ListSource = DSCliente
      TabOrder = 5
      OnKeyDown = DBLCBClienteKeyDown
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 6
      Top = 74
      Width = 118
      Height = 17
      Caption = 'Todas as Empresas'
      TabOrder = 7
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 105
      Width = 411
      Height = 40
      Align = alBottom
      Columns = 1
      ItemHeight = 13
      TabOrder = 8
    end
    object ERomaneioIni: TEdit
      Left = 5
      Top = 16
      Width = 64
      Height = 21
      TabOrder = 0
    end
    object ERomaneioFim: TEdit
      Left = 80
      Top = 16
      Width = 64
      Height = 21
      TabOrder = 1
    end
    object RGSituacaoRomaneio: TRadioGroup
      Left = 250
      Top = 38
      Width = 158
      Height = 43
      Caption = 'Situa'#231#227'o Romaneio'
      Columns = 2
      ItemIndex = 3
      Items.Strings = (
        'Em aberto'
        'NF'
        'Cobran'#231'a'
        'Todos')
      TabOrder = 6
    end
    object EPedido: TEdit
      Left = 147
      Top = 16
      Width = 63
      Height = 21
      TabOrder = 2
    end
    object DEDataIni: TDateEdit
      Left = 215
      Top = 16
      Width = 92
      Height = 21
      NumGlyphs = 2
      TabOrder = 3
    end
    object DEDataFim: TDateEdit
      Left = 316
      Top = 16
      Width = 92
      Height = 21
      NumGlyphs = 2
      TabOrder = 4
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'Select ROM_CODIGO,ROM_DATA,Rom_Situacao,Cli_Razao,'
      
        'ITENSROM_Codigo,ITENSROM_Pedido,ITENSROM_ItemPedido,ITENSROM_QUA' +
        'NTIDADE,ITENSROM_ENCERRAITEMPEDIDO,Prod_Codigo,Prod_DescricaoSai' +
        ',Prod_Tipo,ITENSPED_DESCRICAOSERVICO,'
      'Loc_descricao'
      'From'
      
        'Cliente Inner Join (Romaneio Left join(local Right join (ITENSRO' +
        'MANEIO Inner join (Produto Inner Join ItensPedidoVenda on ITENSR' +
        'OM_ItemPedido = ItensPed_Codigo) on ItensPed_Produto = Prod_Codi' +
        'go ) on ITENSROM_Local = Loc_codigo) on Rom_Codigo = ItensRom_Ro' +
        'maneio)on ROM_CLIENTE = Cli_Codigo'
      '')
    Left = 184
    Top = 217
  end
  inherited DSPesquisa: TDataSource
    Left = 216
    Top = 217
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 128
    Top = 87
  end
end
